// SPDX-License-Identifier: GPL-2.0-or-later

#ifndef _SNAKE_POSITION_HPP_
#define _SNAKE_POSITION_HPP_

#include <cstdint>

struct Position
{
	int8_t x;
	int8_t y;
};

inline bool operator==(const Position& left, const Position& right)
{
	return (left.x == right.x && left.y == right.y) ? true : false;
}

#endif
